-- background: 4022 from stack: in.6 Documentation -- bmap block id: 2625 -- flags: 0000 -- background id: 0 -- name: ----- HyperTalk script ----- function scrollLineClicked topMargin return (round((the scroll of the target / the textHeight of the target) + (((the clickV - top of the target - topMargin) div the textHeight of the target) + 1))) end scrollLineClicked function lineClicked topMargin return ((the clickV - top of the target - topMargin) div the textHeight of the target) + 1 end lineClicked -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=15 top=6 right=61 bottom=83 -- title width / last selected line: 0 -- icon id / first selected line: 128 / 128 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button -- part 7 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=42 top=311 right=333 bottom=142 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Quit ----- HyperTalk script ----- on mouseUp doMenu Quit Hypercard end mouseUp -- part 9 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=375 top=312 right=334 bottom=491 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Option Window ----- HyperTalk script ----- on mouseUp go to card id 11332 end mouseUp -- part 11 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=213 top=313 right=335 bottom=313 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Main Window ----- HyperTalk script ----- on mouseUp go to card id 3219 end mouseUp